function [ o ] = compute_outputs( weights, patterns )
%COMPUTE_COST Summary of this function goes here
%   Detailed explanation goes here

o = zeros(1,length(patterns));
for i = 1:length(patterns)
    o(i) = eval_pattern(weights, patterns(:,i));
end

end

